package com.itheima.struts.domain;

/**
 * 商品的实体
 * @author Unicorn
 * @version v1.0
 * @createTime 2019年3月1日 下午1:32:31
 *
 */
public class Product {
	private String name;
	private Double price;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	@Override
	public String toString() {
		return "Product [name=" + name + ", price=" + price + "]";
	}
	
}
